Building

EntityType | Independent
Logical Entity Name | Building
Default Table Name | AdBuilding
Logical Only | NO
Owner | dbo
Definition |
Note |

Building Attributes

Attribute/Logical Rolename | Domain | Datatype | NULL | Definition
BuildingId |  | INTEGER | NO |
Code |  | CHAR(8) | NO |
Name |  | VARCHAR(40) | NO |
NumberOfRooms |  | INTEGER | YES |
CampusId |  | INTEGER | NO |
StreetAddress |  | VARCHAR(255) | YES |
City |  | VARCHAR(25) | YES |
State |  | CHAR(2) | YES |
PostalCode |  | CHAR(10) | YES |
PhoneNumber |  | CHAR(16) | YES |
FaxNumber |  | CHAR(16) | YES |
Weekdays |  | CHAR(7) | YES |
OpenTime |  | DATETIME | YES |
CloseTime |  | DATETIME | YES |
ContactName |  | VARCHAR(50) | YES |
ContactTitle |  | VARCHAR(50) | YES |
ContactEmail |  | VARCHAR(50) | YES |
Comment |  | TEXT | YES |
IsActive |  | BIT | NO |
CreatedDateTime |  | DATETIME | NO |
LastModifiedDateTime |  | DATETIME | NO |
LastModifiedUserId |  | INTEGER | NO |
RowVersion |  | TIMESTAMP/DATE | YES |
CountryId |  | INTEGER | YES |

Building Keys

Key Name | Key Type | Keys
AdBuilding_SyCampusID_N_N_IDX | Inversion Entry | CampusId
AdBuilding_AdBuildingID_U_C_IDX | PrimaryKey | BuildingId
AdBuilding_Code_SyCampusID_U_N_IDX | Unique Constraint | Code, CampusId

Building Relationships

Parent Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype

Child Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype
Room | Non-Identifying | One To Zero or More |  |  |  |  | NO
Room | Non-Identifying | One To Zero or More |  |  |  |  | NO

Building Check Constraints

Check Constraint Name | CheckConstraint

Building Where Used - Model Usage

Mapped Object | Is User Defined? | Denormalization Mappings | Description | Bound Attachments
Logical dbo.Building | NO |  |  |
Physical (Microsoft SQL Server) dbo.AdBuilding | NO |  |  |

Building Where Used - Submodel Usage

Model | Submodel Usage
Logical | Main Model
Logical | ClassScheduling
Physical (Microsoft SQL Server) | Main Model
Physical (Microsoft SQL Server) | Academic Records

Building Data Movement Rules

Name | Type | Rule Text/Value